Previous Book Contents Book Index Next

Inside Macintosh: Programming With JManager /
Chapter 2 - JManager Reference / Application-Defined Functions
/


MyRestorePort

Restores the graphics port. This is how you would define your restore port function if you were to name it MyRestorePort:

void MyRestorePort  (JMFrameRef frame, 
                     void* param);
frame
The frame that wants to restore the port.
param
Defined by the client application. This value must match the return value of the MySetUpPort function).
DISCUSSION
When creating a frame, you must designate a callback function to restore the graphics port associated with it. You cannot nest this function.

SEE ALSO
The MySetUpPort function (page 102).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
23 APR 1997